<template>
  <div @click="$parent.$emit('sayHey')">
    <h1>HeyHeyHey</h1>
  </div>
</template>

<script>
export default {
  name: 'Hey',
  created () {
    this.$parent.$on('mua', () => {
      console.log('mua')
    })
  }
}
</script>

<style scoped>

</style>
